package com.ty.mapper;

import com.ty.bean.SaleOrderProduct;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SaleOrderProductMapper {
    /**
     * 批量保存
     * @param sn 销售订单编码
     * @param saleOrderProductList 产品列表
     * @return
     */
    int batchSave(@Param("sn") String sn,@Param("saleOrderProductList") List<SaleOrderProduct> saleOrderProductList);
}
